import { RespSysSettingDataType } from '@/components/app/commonSystemSetting/api';

/**
 * 响应数据类型
 */
export declare namespace RespDataType {
    // 组织详情信息
    export type DeptItemInfo  = RespSysSettingDataType.DeptItemInfo
}

/**
 * 请求数据类型
 */
export declare namespace RequestDataType {
    export interface UpdateOrganizationItem {
        ancestors: string;
        children?: [];
        deptId: string;
        deptName: string;
        deptType: string;
        lat: number;
        lng: number;
        orderNum: string;
        parentId: string;
        parentName: string;
        sensors?: [];
        extraInfo?: string;
        geo?: string;
    }

    export interface addOrganizationItem {
        deptName: string;
        lat: number;
        lng: number;
        parentId: string;
        deptType:string;
        geo?: string;
    }

    export interface queryOrganizationItem{
        deptName: string;
        deptType:string;
    }


}
